package com.junlong0716.enjoylearning.entity

import com.chad.library.adapter.base.entity.MultiItemEntity
import java.io.File

/**
 *@author: 巴黎没有摩天轮Li
 *@description:
 *@date: Created in 上午10:59 2018/6/23
 *@modified by:
 */
class DownloadFileEntity(itemType: Int, var file: File) : MultiItemEntity {
    private var mItemType = itemType


    companion object {
        //视频
        const val DOWNLOAD_FILE_VIDEO = 1
        //音频
        const val DOWNLOAD_FILE_AUDIO = 2
    }

    override fun getItemType(): Int {
        return mItemType
    }
}